home *** CD-ROM | disk | FTP | other *** search
- ; opi
- ; sukksukkfukk
-
- V$="$VER: show ya progresssss by opi.dadethmeat"
- INCLUDE "inc:pr"
-
- Statement pick{f$}
-
- SHARED a$,el
-
- If ReadFile(0,f$)
- FileInput 0
- While Eof(0)=False
- a$=Edit$(80)
- Wend
- CloseFile 0
- Else
- el=1
- EndIf
-
- End Statement
- If FromCLI=0 Then el=2:Gosub help
- pick{"env:sypic_n"}:Gosub help
- name$=a$
- pick{"env:sypic_p"}:Gosub help
- proc$=a$
-
- gdzie=Int(Val(proc$)/10)
- NPrint""
- Repeat
- ee+1
- If ee=gdzie Goto tu
- Print "-"
- .tam
- Until ee=10
- NPrint " "+proc$+"% of "+name$+" project"
- If Val(proc$)=>100 Then NPrint "finished!"
- NPrint""
- End
-
- .help
-
- Select el
-
- Case 1
-
- pr{"Some needed varibles not found! Please read manual ERRORLEVEL=1"}
- End
-
- Case 2
-
- DefaultOutput
- Print"This program should be runned from shell environment ERRORLEVEL=2"
- End
-
- End Select
- Return
-
- .tu
- Print"^"
- Goto tam
-